package net.lanelife.casino.caipiao.service;

import net.lanelife.casino.caipiao.entity.PlayMethodRule;
import net.lanelife.casino.caipiao.repository.api.IPlayMethodRuleRepository;
import net.lanelife.casino.caipiao.service.api.IPlayMethodRuleService;
import net.lanelife.casino.common.repository.support.GenericRepository;
import net.lanelife.casino.common.service.support.GenericService;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class PlayMethodRuleService extends GenericService<PlayMethodRule, Integer> implements IPlayMethodRuleService {
	
	@Autowired
	private IPlayMethodRuleRepository repository;
	
	public PlayMethodRuleService() {
		super(PlayMethodRule.class);
	}
	
	@Override
	protected GenericRepository<PlayMethodRule, Integer> getRepository() {
		return repository;
	}

}
